<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    /*
	 * ************************
	 * Init Doctype
	 * ***********************
	 */
	protected function _initSession(){
		$options=array(
        'name'                      => 'schoolmgmt', /* this should be set to a unique value for each application */
         //'auto_start'                => null, /* intentionally excluded (see manual) */
        'cookie_lifetime'           => 604800,
        //'cookie_path'               => '/',
        'cookie_domain'             => 'schoolmgmt.com',
        'use_only_cookies'          => 'on',
               
    );
		Zend_Session::setOptions($options);
		Zend_Session::start();
	}
	
    protected function _initDoctype ()
    {
    	
        $this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('HTML5');
    }
    
    protected function _initHeadTitle(){
    	$this->bootstrap('view');
        $view = $this->getResource('view');
        $view->headTitle()->setSeparator(' | ');
    }
    
    
    
    
}